package day05;

import java.util.HashMap;
import java.util.HashSet;

public class MultiTable {
    public static void main(String[] args) {
//        Scanner scanner = new Scanner(System.in);
//        int a = 0;
//        for (int i = 0; i < 5; i++) {
//            System.out.println("请输入：");
//            a = scanner.nextInt();
//        }
//        System.out.println(a);
//        String str = null;
//        System.out.println(str);
//        System.out.println("");
        HashMap map = new HashMap();
        HashSet set = new HashSet();
        set.add("tom");
        set.add("jake");
        set.add("join");
        map.put("NO1","join");
        map.put("NO2","tom");
        map.put("NO3","milan");
        map.put("NO4","jake");
        map.put("NO5","dc");
        System.out.println(map);
        map.remove("NO1");
        System.out.println(map);
        System.out.println(map.size());
        System.out.println(set.size());
    }
}
